package com.oa.bean;

/**
 * TApplygoods entity. @author MyEclipse Persistence Tools
 */

public class TApplygoods implements java.io.Serializable {

	// Fields

	private Integer gid;
	private Integer aid;
	private String goodsname;
	private Integer gcounts;
	private String gunit;
	private Long gprice;
	private Long gtotle;
	private String gpurpose;

	// Constructors

	/** default constructor */
	public TApplygoods() {
	}

	/** full constructor */
	public TApplygoods(Integer aid, String goodsname, Integer gcounts,
			String gunit, Long gprice, Long gtotle, String gpurpose) {
		this.aid = aid;
		this.goodsname = goodsname;
		this.gcounts = gcounts;
		this.gunit = gunit;
		this.gprice = gprice;
		this.gtotle = gtotle;
		this.gpurpose = gpurpose;
	}

	// Property accessors

	public Integer getGid() {
		return this.gid;
	}

	public void setGid(Integer gid) {
		this.gid = gid;
	}

	public Integer getAid() {
		return this.aid;
	}

	public void setAid(Integer aid) {
		this.aid = aid;
	}

	public String getGoodsname() {
		return this.goodsname;
	}

	public void setGoodsname(String goodsname) {
		this.goodsname = goodsname;
	}

	public Integer getGcounts() {
		return this.gcounts;
	}

	public void setGcounts(Integer gcounts) {
		this.gcounts = gcounts;
	}

	public String getGunit() {
		return this.gunit;
	}

	public void setGunit(String gunit) {
		this.gunit = gunit;
	}

	public Long getGprice() {
		return this.gprice;
	}

	public void setGprice(Long gprice) {
		this.gprice = gprice;
	}

	public Long getGtotle() {
		return this.gtotle;
	}

	public void setGtotle(Long gtotle) {
		this.gtotle = gtotle;
	}

	public String getGpurpose() {
		return this.gpurpose;
	}

	public void setGpurpose(String gpurpose) {
		this.gpurpose = gpurpose;
	}

	@Override
	public String toString() {
		return "TApplygoods [gid=" + gid + ", aid=" + aid + ", goodsname=" + goodsname + ", gcounts=" + gcounts
				+ ", gunit=" + gunit + ", gprice=" + gprice + ", gtotle=" + gtotle + ", gpurpose=" + gpurpose + "]";
	}

}